package edu.neu.ecommerceplatform.service;

import edu.neu.ecommerceplatform.model.Product;
import edu.neu.ecommerceplatform.dto.CategorySalesDto;
import java.util.List;

public interface ProductService {
    List<Product> getAllProducts();
    Product getProductById(Integer id);
    List<Product> getProductByName(String name);
    Product createProduct(Product product);
    Product updateProduct(Product product);
    void deleteProductById(Integer id);
    List<Product> getProductByCategoryId(Integer id);
    List<CategorySalesDto> getCategorySales();
} 